<?php
return [
    'site/delete' => [
        'type' => 2,
    ],
    'site/logout' => [
        'type' => 2,
    ],
    'site/index' => [
        'type' => 2,
    ],
    'site/add' => [
        'type' => 2,
    ],
    'site/update' => [
        'type' => 2,
    ],
    'site/filter' => [
        'type' => 2,
    ],
    'site/info' => [
        'type' => 2,
    ],
    'site/show' => [
        'type' => 2,
    ],
    'site/upload' => [
        'type' => 2,
    ],
    'site/img' => [
        'type' => 2,
    ],
    'tea/manage' => [
        'type' => 2,
    ],
    'tea/add' => [
        'type' => 2,
    ],
    'tea/delete' => [
        'type' => 2,
    ],
    'score/manage' => [
        'type' => 2,
    ],
    'score/modify' => [
        'type' => 2,
    ],
    'score/add' => [
        'type' => 2,
    ],

//    'score/manage' =
    'Admin' => [
        'type' => 1,
        'children' => [
            'site/delete',
            'site/logout',
            'site/index',
            'site/add',
            'site/update',
            'site/filter',
            'site/info',
            'site/show',
            'site/upload',
            'site/img',
            'tea/delete',
            'tea/manage',
            'tea/add',
            'score/manage',
            'score/modify',
            'score/add',
        ],
    ],

    'Teacher' => [
        'type' => 1,
        'children' => [
            'site/index',
            'score/manage',
            'score/modify',
            'score/add',
        ]
    ],
];
